package com.cts.service;

import com.cts.entity.Moment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cts.model.dto.MomentDTO;
import com.cts.model.vo.MomentVO;
import com.cts.model.vo.PageResultVO;
import com.sun.org.apache.xpath.internal.operations.Bool;

/**
* @author tongshengchen
* @description 针对表【moment】的数据库操作Service
* @createDate 2023-02-06 12:25:57
*/
public interface MomentService extends IService<Moment> {

    PageResultVO<Moment> getMomentList(MomentDTO momentDTO);

    Boolean publishMoment(Integer id, Boolean isPublished);
}
